Topic Solved Mod for YaBB SE 1.5.1 and 1.5.2

by snYpir (morpj97@hn.ozemail.com.au)

Version 1.1

This mod allows the topic starter, admins, global mods and board moderators to set a thread as 'solved'. This will force YaBB SE to display a previously chosen icon for the solved thread in the message index, instead of the usual thread icon.

This will provide a visual indication for members browsing the message index of which questions have been answered, or which topics have been 'solved'.

On our forum we have a number of question/answer boards and this mod has been very useful.

Features:

* Admin-selectable topic solved icon via the mod settings page.

* Topics can also be un-solved.

* Option in mod settings to lock topic when solved, will unlock when unsolved.

Compatibility:

Should be no conflicts. Let me know if you encounter one and i'll write a patch.

History:

1.1 - The solve button now appears at the bottom left corner of the message display, instead of in every message.
1.05 - Add the ability to lock/unlock threads automatically when topic solved/unsolved
1.0  - Initial release (straight conversion from my YaBB SP version, which was never released)

Installation:

* Upload topicsolved_dbmod.php to your root YaBB SE directory and run it in your browser (ie www.mysite.com\yabbse\topicsolved_dbmod.php). This will make a new field in your topics table, and add two fields to your settings table.
* Upload the three image files to your YaBBse\YaBBImages directory.
* Use boardmod to install topic_solved_151.mod. topic_solved_15.mod and topic_solved_141.mod can be used if you have earlier versions of YaBB SE. Upload modified files to your server.

Useage:

Click on the 'solve' icon (next to modify message) to set a thread as 'solved'. You can now unsolve the thread if required by clicking on the 'unsolve' icon.

Turn the mod on/off and set the topic solved icon via the mod settings page. An initial icon is included (cool2.gif). Note that the file extension for your topic solved icon is not required, and the icon link is relative to your YaBBImages directory.

Comments:

Please let me know how you would like me to improve this mod, either graphically or feature-wise.

Please make comments or suggestions at http://www.yabb.info/community/index.php?board=158;action=display;threadid=12154 (preferred) or email me.

This version (1.1) is final.